Home Affairs converting millions of documents to digital records