bug end of the line in file to string fixed