file import and duplicate delete function