changed how get base file path in fileservlet works