clean up uploaded file related code..