Newline fix

I added a file that has a newline fix function.