Removes empty lines in file.