Bulgaria , a former Communist country that entered the EU on 1 January 2007 , averaged more than 6 % annual growth from 2004 to 2008 , driven by significant amounts of foreign direct investment and consumption .