Simplify the code by using a more concise method of enumerating the ROM directory.
Also, simplify the zip extraction code logic.