remove file after rename