code: @ApiModelProperty(hidden=true)
      public AssetFile getAssetFile(File file, AssetRevision rev) throws IOException {
          AssetFile assetFile;
          if (rev == null) {
              rev = versionControl.getRevision(file);
              if (rev == null) {
                  // presumably dropped-in asset
                  rev = new AssetRevision();
                  rev.setVersion(0);
                  rev.setModDate(new Date());
              }
              assetFile = new AssetFile(this, file.getName(), rev);
              assetFile.setRevision(rev);
          }
          else {
              versionControl.setRevision(file, rev);
              assetFile = new AssetFile(this, file.getName(), rev);
              versionControl.clearId(assetFile);
          }
          assetFile.setId(versionControl.getId(assetFile.getLogicalFile()));
          assetFiles.put(assetFile.getLogicalFile(), assetFile);
          return assetFile;
      }
docs: Called during initial load the file param is a standard file.