Separated dm_transform and search in FileSearch class.