Add extra explanation to docstring for writing files