remove unnecessary files from the project code example
Example: remove unnecessary files from the project
some referenced links that might help
https://www.codeproject.com/articles/555489/find-unused-files-v
https://tanzu.vmware.com/content/blog/a-simple-way-to-detect-unused-files-in-a-project-using-git