Removing blank line at end of file