Finland had been one of the best performing economies within the EU in recent years and its banks and financial markets avoided the worst of global financial crisis .