Cleans files of extra lines.