- InputStream fileInputStream = new FileInputStream(new File(filesystemPath, filename));
- if (fileInputStream == null) {
+ InputStream fileInputStream;
+ try {
+ fileInputStream = new FileInputStream(new File(filesystemPath, filename));
+ } catch (FileNotFoundException fnfe1) {