Is it possible to cache a binary file in .NET and do normal file operations on cached file?
I don't know what exactly you're doing, but I offer this suggestion (which may or may not be viable depending on what you're doing):
Instead of only caching the contents of the file, why don't you put the contents of the file in a nice strongly typed collection of items, and then cache that? It'll probably make searching for items a bit easier, and faster since there is no parsing involved.