get the filename from the debugger or the location bar