Rewrite searchFamily() function from Data and add read/write definetly