Tool update for IDEs

If there was a GetInputFile method similar to the GetOutputFile
method then IDEs could avoid the need to access the grammar through a
file path.