made methods private in board_from_file