You need one that starts iPhone1,1_ followed by the the version number you wish to install. So for 3.0 you would want iPhone1,1_3.0_7A341_Restore.ipsw. Please note that it must start exactly as above; iPhone1,2 files are for the 3G and iPhone2,1 files are for the 3G. Or you could just download them from here.