List<PairOfWritables<Writable, Writable>> listOfKeysPairs = SequenceFileUtils.readFile(new Path(TMP_FILENAME1), FileSystem.getLocal(new Configuration()));
//delete
FileSystem.get(new Configuration()).delete(new Path(TMP_FILENAME1), true);
PairOfIntSignature a1 = (PairOfIntSignature) listOfKeysPairs.get(0).getRightElement();
PairOfIntSignature a2 = (PairOfIntSignature) listOfKeysPairs.get(1).getRightElement();
PairOfIntSignature a3 = (PairOfIntSignature) listOfKeysPairs.get(2).getRightElement();
System.out.println(a1);
System.out.println(a2);
System.out.println(a3);