finish file writing utils
draft zoom function