Remove unneeded files. Only the directory is needed.