Implemented reading files and directories

Currently 6/17 tests pass