code: @Override
    public boolean exists()
    {
      ClassLoader loader = Thread.currentThread().getContextClassLoader();
      
      return loader.getResource(getTrimPath()) != null;
    }
docs: Returns true if the file exists.