write the current_volume to the expected file