add filetype restriction
refactor HelloServlet