Implemented basic open() and read()