add board.txt and *.dat file support