Modified ModelAccessor to check file name prefix before handling a null
result.