updated to allow file on command line