option for writing files to disk