Load SMF (.mid file) into MIDI region from Lua

Hello, is there a simple way to load a SMF (.mid file) into an Ardour MIDI region from Lua?