If the user mis-specifies the file-path to a folder, it will cause the program to overwrite the contents of that folder.
Huidong suggests entering an alert/a warning to the user saying something like "the folder 'xx' is not empty and the content will be over-written by the next step of this program".
If the user mis-specifies the file-path to a folder, it will cause the program to overwrite the contents of that folder.
Huidong suggests entering an alert/a warning to the user saying something like "the folder 'xx' is not empty and the content will be over-written by the next step of this program".