#Run File sub routine that returns either file1, file2 or file3 #call next routine and pass in that returned value Next_sub(Whatever the returned value is..);