Fix view to include non used files.
Merge pull request #5834 from openscholar/5807-hf

Fix cp_files view to show unused files.