Add support to set the file from the command line
Add error messages when using multiple files or nonexisting files