removes unnecessary file