Consider two text files
folder2/a.txt with contents "This is the first file"
folder1/a.txt with contents "This is the second file"
Insert the first file and then the second.
Confluence replaces the first file with the second but it doesn't warn you. Both text files will have the content "This is the second file"
Please fix this bug.