renaming and removed file reader