for file in files[:20]:
print file
dataset = OpenFile(file)
data = ReadAsArray()
print data [3000, 5000]
import numpy
...
for file in files[:20]:
print file
dataset = OpenFile(file)
# data = ReadAsArray()
data = numpy.fromfile(dataset, dtype=numpy.dtype(numpy.int16))
dataset.close()
print data [3000, 5000]