Close file tab after removing