Thinking into the future, shouldn't you probably make it using a sql database?
Like with a Game Information table
gID,Title,Publisher,ReleaseDate,Emulator,Developer,System,Genre,Flyer
then an MD5 hash table
hID, Hash, gID
as the columns. Then have a separate table with the current...