WriteFile used to test DictionaryEntry