write to flat file; web interface