you can write a database in any format you want. for example there are comma delimited databases, and then there are more advanced databases, like the palm database, *.PDB
have a headerthat stores information on the record offsets and all sorts of crap... i cant really explain them... i jsut know how to make them and use them.