mods to allow main.c to pass in the opened file
2 files changed