Added debugging for alternative reading of files