Fix model with subfolder

it was working before the refactoring of boss_file, help to deal with 100 of model
it is only for model dir