Cleanning a file