Adding logging to report the file being used