your server doesn't support serving static content from the filesystem? doesn't sound like much of a server to me.
in any case, if you used /fopen you would rewind the file handle (/fseek fh 0) and re-read (fread into a bvar) the contents which would be nearly efficient as direct memory access.
..or you could just write to a bvar directly..
point is, hash tables will serve little use here, this is not their purpose.