The function from code to path.