Added comments to fileoperations