Improved error message when input file doesn't exist

When no input file exists the error message with file name is printed
and app exits.
Added support to specify input/output files in command line

Now you can specify input and output file with command line which
allows to import/export files with different names without changing the
script.