run code from tree view, right click on file.

I didn't want to open a file and have to run the code. I just wanted to right click on the file from the tree view and click on run.