Fixed 'Text files should end with a newline character'