Accessing the menu bar of Quickbooks

I should be able to figure out the rest of the program, but I am having an error when trying to open the File>Import>From IIF Files… dialog box. Here is the script I am using:

tell application "QuickBooks 2009"
	activate
end tell
tell application "System Events"
	tell process "QuickBooks"
		tell menu bar 1
			tell menu bar item "File"
				tell menu item "Import"
					tell menu item "From IIF Files..."
						click menu item "From IIF Files..."
					end tell
				end tell
			end tell
		end tell
	end tell
end tell

This is the error I get:
System Events got an error: Can’t get menu item “Import” of menu bar item “File” of menu bar 1 of process “QuickBooks”.

This is the even log:
tell application “System Events”
click menu item “From IIF Files…” of menu item “From IIF Files…” of menu item “Import” of menu bar item “File” of menu bar 1 of process “QuickBooks”
“System Events got an error: Can’t get menu item "Import" of menu bar item "File" of menu bar 1 of process "QuickBooks".”

I am sure I am making some minor error. Any help would be greatly appreciated.

Model: iMac
AppleScript: 2.2.1
Browser: Safari 525.20.1
Operating System: Mac OS X (10.5)

I have figured out my original issue with this:

tell application "QuickBooks 2009"
	activate
end tell
tell application "System Events"
	tell process "QuickBooks"
		tell menu bar 1
			click menu item "From IIF Files." of menu 1 of menu item "Import" of menu "File"
		end tell
	end tell
end tell

Now I have a new problem. This opens up an import window that has a search field and open and close buttons. How will I be able to select the file I want automatically and open it. The file will be designated from a FileMaker database I have already made. The file name can always be the same if it needs to be.