Tidy up file