[#1039] Remove unused files

Fixes #1039.
Merge pull request #1054 from afuna/delete-directory-search-endpoints-bug-1039

[#1039] Remove unused files