updated FileEncoder in project sampleGeckoGUI