Implemented getFile() method
Fixed typos