You can create a custom 404 (file not found) page for your XtGem site.
All you need to do is to create a file or page named "404" in your root (main filebrowser) directory
all requests that lead to non-existing files or pages will re-direct to this page.