remove old files && clear editbox when select item