Remove trailing empty lines. Same for other file.