removing duplicate file/filepaths