Open/switch to a file, optionally navigate to a specific line.
The file to open
Line to navigate to (0-based); use -1 to restore saved cursor/scroll