remove extra characters file