more intelligent model file location