public static @Nullable File getResourceFile(Class<?> aClass) {
    final String resourcePath = getResourcePath(aClass);
    return resourcePath != null? new File(resourcePath) : null;
  }
public static @Nullable File getResourceFile(Class<?> aClass)