Handle the case of file with same name already in folder.