write list of apps to flat file upon creating