Tidy of files