Tab -> space code format corrections. Reading empty header bug fixed.