Created independent files for sync and async file writing.