working on IndexedBinaryFile