adjust indent, and line to the end of the file