switch from scanner to servletContext to read the txt files