swapped loadWithFile for loadWithPath for file loading in OF.