Implemented TaskManager for threaded file access.