Removing junk files of materias and subjects