Implement block method for mapping function from Path