issue #26: trailing whitespaces, newlines at the end of file