finish add beacon file and boughtbeacon search