migration of legacy format for missingFile entries is done in its own class

extracted method into a class