Our template’s folder structure is all pages in pages/ folder and all sections are in containers/ folder by the name of following page and all components are in components folder.
Now, how can you remove all unwanted files?
First, remove unwanted pages from pages/ folder. On which pages you’ve been removed before, please, remove those pages from the containers/ folder . After that remove the componets from componets/ folder that doesn’t imported in your remaining containers/