add openFile() method to open shader file in external editor