private static FileInputStream createInputStream(String filename) {
        try {
            return new FileInputStream(filename);
        } catch (FileNotFoundException e) {
            throw new IllegalArgumentException("Could not find FSA file '" + filename + "'",e);
        }
    }
Loads an FSA from a resource file name, which is resolved from the class path of the
class loader of the given class.
<p>
This is useful for loading fsa's deployed within OSGi bundles.

@param  resourceFileName the name of the file, relative to any element on the classpath.
        For example, if the classpath contains resources/ and the file is resources/myfsa.fsa
        this argument should be myfsa.fsa
@param  loadingClass a class which provides the class loader to use for loading. Any class which is loaded
        from the same class path as the resource will do (e.g with OSGi - any class in the same bundle jar)
@return the loaded FSA
@throws RuntimeException if the class could not be loaded
fsa/src/main/java/com/yahoo/fsa/FSA.java