clean up makeFileStructureFactory