With most disk accessing methods, there are considerable overheads involved, including disk seek and access times. By implementing a file in memory, many performance gains can be achieved.
http://zevensoft.b3ta.org/node/45