stripped NL's from file end