Check the file name before renaming

Hi @superpunchypp ,

  1. First check if the name you want to change already exists with path exist
    it will give you boolean variable
    2.Here continue to check the boolean variable, if the name already exists we will not change it
    3.Next, if we don’t need it, we can delete that file
    Cheer