Cleanup of a file