upgrading logged attached file from moodle 1.9x to moodle2.x