A little uncertain on what you are doing but, assuming some things, you could simply use #include for your second file and simply call the functions in the order you need. A slight variation on Stan's suggestion. You can have code for the same script in many different files, of course.
Jim