Add benchmark for file writing