Moved reading arff file into search block