Pylint issue identified with file.close. First file is a reserved keyword,
so redefining it. Second, the close can be done automatically on cleanup
but also more ideomatically via the "with" statement.