added the ability for files to contain only enabled files and clear out
files not used