BufferedReader br = new BufferedReader(new FileReader(filename));
That looks like your problem right there. With only the file name, the FileReader will look in the "current" directory - something you have no control over in the servlet environment. You MUST provide a complete path.
When you tried this code you should have gotten an informative error message or had one show up in the logs.