Make output file consistent with existing files