One large file not a array with individual quotes? If so, I would probably recommend that you read that file in once at the beginning and break it up into a more manageable array. Then after changes save the whole file again. You should be able to use DB ok as standard, but IanM's utils have some good commands for this and will help you considerably. Plus, unless things have changed, I think there is a max length of string$ size in DB, which caused me problems messing with a csv file a few years back. The plug in removes that problem.
Dark data is another possiblity, but not free and I have never used it, so cannot really give much info on it.
http://s6.bitefight.org/c.php?uid=103081