Returning both the file with duplicates removed and the one with duplicates preserved