Handle files with the same name