clean up app file