Replace the string file path with a Directory object.