Editing files passed to the template results in error. Think of a way to cache them (copy them to tmp)