Fixed typo.
Style.
Avoid printing new lines.
Discard newlines.
No need to continue if we clean the files.
Tab indent.
Define version as a local to prevent variable shadowing.