cleaned up a file