adding file and file reader class