You can import licenses from a comma separated values (.csv) from a file. 


Navigate to Licenses->Import Licenses to import your file.