Prevent wrong new lines from file content