add initial imlpementation for file offset generator