Implemented the File class.