The question contains a minor inaccuracy: it was President Millard Fillmore (not simply "President Fillmore") who authorized a naval expedition to Japan in 1852. This mission, commanded by Commodore Matthew Perry, aimed to open Japanese ports to American trade and establish diplomatic relations, culminating in the Convention of Kanagawa in 1854.