Modified to accept files to add on the command-line