Easier to understand function names
Use new function names.  Pass required data rather than debug file reading values directly.