I don't believe the version of AOR that was in .tif format and didn't have AOR_ prepended to the filename had the directory problem that I'm trying to solve. As far as I know, it was only version 3 which already had filenames of the format AOR_x.png.