Adding support for custem header.php and footer.php files.