File offset calculations are done