I am not aware about where these custom files were placed. I didn't find a folder called liked "custom". I think I missed something related to the custom files, I tried to check them by date, however I didn't succeed in doing that.
Actually I took the database dumpfile from 6.3 and reloaded to the new 12.3 version and ran the upgrade through the browser.
As you suggested, perhaps I am missing something.