def check_input_files(files):

    for filename in files:
        if not os.path.exists(filename):
            raise CommandError("{} does not exist".format(filename))
Algo:
dataset/ETHPy150Open hellerbarde/stapler/staplelib/iohelper.py/check_input_files--crossover with--dataset/ETHPy150Open chili-epfl/shape_learning/src/shape_learning/shape_learner.py/ShapeLearner.respondToDemonstration