remove filename when user cancel the action