Dealt with case insensitivity of Registry export.
Clear additional variables while reading file.