Integrated file loading with the rest of the program