Added basic thread logic to file update engine.