Bug fixes

1. Moved import os to top so I can check the files passed in for
existence and whether it is a file.

2. Changed add_argument call to not presume it's a file because execfile
wants a str.

3: added a conditional check to see if the files passed in exist and
that they are files.