def exist_file(x):
        if not path.isfile(x):
            raise argparse.ArgumentError("{0} does not exist".format(x))
        return x
'Type' for argparse - checks that file exists but does not open it
dataset/ETHPy150Open ericgibert/supersid/supersid/sidfile.py/exist_file