Add LogFile.py with tests