update the largestFileWriting