added in codes to change all fileType 4 to hr files and all fileType 9 to xml files