removed empty lines from end of files