add nl at the end of file