Roger Federer admits that his Australian Open quarter-final clash with Jo-Wilfried Tsonga "could have gone either way".