Robert, I had an identical structure on my mind like yours:
Code:
HEADER
----------------
FILES
----------------
FILE RECORDS
But how to store directories using this structure and what about the offsets?