removes unnecessary files