generic app configfile parser