Get search objects IDs from a function
Moved SearchEngine references to FilesManager