code: private InputStream getInputStreamFromFile(File f) throws FileNotFoundException{
  		InputStream stream = null;
  
  
  
  		if ( cacheRawFiles ){
  			stream = FlatFileCache.getInputStream(f.getAbsolutePath());
  
  			if ( stream == null){
  				FlatFileCache.addToCache(f.getAbsolutePath(),f);
  				stream = FlatFileCache.getInputStream(f.getAbsolutePath());
  			}
  		}
  
  		if ( stream == null)
  			stream = new FileInputStream(f);
  
  		return stream;
  	}
docs: Wrapper for new FileInputStream. if System.property biojava.cache.files is set, will try to load files from memory cache.
  
  @param f
  @return
  @throws FileNotFoundException