To display which template file a page uses in the header, add the following code to your functions.php file:
add_action('wp_head', 'show_template');
function show_template() {
global $template;
print_r($template);
}For more on template files, see WordPress Template Hierarchy.