handling elgg url

How can the elgg URLs be handled?

e.g http://site.com/file/PooKeenSh(Page not found)

FOR a plugin:I need to disable features in plugin  

e.g http://site.com/mod/file/edit.php?file_guid=402506(page not found)