read appname from proper directory...