Generates a list of byte offsets of the hits in a file, for plain text files only. See getHitByteOffsets for details.