added methods for search files