I'm looking into removing php files that are no longer used on my site. I can use something like get_included_files to show the included files, but that would mean I would have to put it on every child page. If I put it on a parent page, it won't show me the child page that called it.
Has anybody else run into a similar situation? If so, what did you do to remove unused php files?