implemented rack path clean up so user is unable to open files in other directories ie not in ./public