Migrating my wordpress.com site to my dream host wordpress.org site

i want to migrate my wordpress.com site to my wordpress.org dream host site. Tried using the WordPress importer but its showing me this “This does not appear to be a WXR file, missing/invalid WXR version number” i don’t know what am supposed to do?