Only transformation_mat and inverse_transformation_mat are not predicated by input, so File(exists=True) remains