Fixes #5 (directory traversal) by returning the shared directory if a location above the shared directory is requested
Fixes #5 (directory traversal) and fixes a runtime error in the previous commit if the file or directory requested does not exist
Merge pull request #9 from mmaraya/master

Fixes #5 (directory traversal)  from mmaraya