code: protected static InputStream getConfigurationFileFromAssets(Context context,
              String fileName) {
          if (context == null) {
              return null;
          }
  
          AssetManager assets = context.getAssets();
          if (assets == null) {
              return null;
          }
  
          try {
              return assets.open(fileName);
          } catch (IOException e) {
              return null;
          }
  
      }
docs: Gets an input on a configuration file placed in the application assets.
  
  @param context
  the Android context to use
  @param fileName
  the file name
  @return the input stream to read the file or <code>null</code> if the
  file does not exist.