This is not required. file manager handles checking if duplicate exists, else it attaches a number at the end.