MDL-25631: Add option to include legacy files on course import