Is there any API provided by obsidian that allows me to open a particular file (in TFile variable type) in any callback function? For example
const trigger = this.addRibbonIcon('dice', 'Open File', (evt: MouseEvent) => {
// open file with path all/programming/python/tutorial.md
}