Another option is to use memory mapped files.
Anyway you can always look how pak file support was realized in Delphi remake of Quake II: http://www.sulaco.co.za/quake2/ (even in pascal)