add detect if board file exists functionality