Added possibility to enter filename of the log.

* first command line argument is used for filename
* if there's no argument, ask for the filename
Added file reading ability