loadData() function in BrainAnalyzer interface.