CONNECT - active_file.dgn variable for keyins

is there a keyin variable for the active file you are currently in?

The following (2) keyins will work great for switching all of my reference views from dynamic to cached and then from cached back to dynamic but they require me to input the active file name.  I would like the file name to be the file I'm currently in so that i can make it a more user friendly tool.

reference visibleedges cached active_file.dgn

reference visibleedges dynamic active_file.dgn