Commandline options and fixed error message, when no file could be loaded

Added several commandline options like -h/--help and fixed the not printed error message when a file could not be loaded.