Added reader.next() to extractFromSDFile

solves bug 3462