pub fn parse_function_path(
    path: &Path
) -> Result<(&Path, ResourceLocation), String>