refactor force factory to take in string filepath