Option Parser for reading log in python