fixes file adding a line separator