replace moodle file links