Although this can be done, it is not good programming practice to do so. You should open files in one vi, read/write to them in the same vi or in subvi's, and close the file at the level where it was opened. This is proper modular programming. Then you would not need references. You could just wire the file refnum into your subvi. Of course this is a general statement. You could have a very good reason why you are doing it your way.