Create new class to clean document and delete duplicate Strings in file.