[db] autolocate corresponding pfb when loading and afm file