Add exportFile feature