map file data to offset/lenght in json