Renamed LogReader.close() to _close_file() and moved it under _open_file().
Removed unused LogReader.active flag.
LogReader._close_file() now sets _file to None.
Added a unit test for LogReader._close_file().
Fixed LogReader._close_file()'s docstring.
Added some logging to LogReader._close_file().