removes unnecessary files.