Adopted to SequenceFileInputFormat.