Make file and path accessible in capture templates