if not os.path.isfile(options.datfile):
    print "Datfile doesn't exist: %s" % (options.datfile)
    sys.exit(1)