Corrected the file operation samples