change for thread safe app file