Move method to a reusable place
Remove unused file
Fix `change_line_in_file` method

Now it writes normalized files (with a new line in the end)