Removes unneeded text files.