Added duplicate check to Folders