Changed inputfromlog.py to inputfromlog1.py with only 2 functions