Removed unnecessary code for file operations