only save the app directory to file