add length to file truncation warning output