log on debug, and file size checks, and file exists checks <TC>