remove extra characters from front of file