add the function to load a board data from a board file and the test code