GetRecoveryPlanXmlFile should have -Path parameter instead of -File.