Virtual MIDI input device?
The easiest way to play a MIDI file with a VST plugin is to load it in some VST host (see here for a random list).

If you want to use a virtual MIDI port, you can create one with the IAC driver.