start to write files to disk