More debugging added to read file.