use locate_template to pass variable to template part for listing files