map to grab filepath