removed open file after rename