Removed a useless check of the imported xml file.