About starting over .. now that moodledata/filedir/ has been altered you'll have to do original code, original DB, *and* original moodledata.
And, first step in this is to upgrade the 1.9.x to the highest 1.9 available before the first mass change going from 1.9.highest to 2.2.highest.
'SoS', Ken