figuring out how to use filepath for loading the models