Removed empty rows at the end of the file.