Stripping Newline from End of File