Added Sync Option to file writing