core/play/src/main/java/play/mvc/Results.java
public static Result ok(File content, String filename) {
    return ok(content, filename, StaticFileMimeTypes.fileMimeTypes());
  }
public static Result ok(File content, String filename) {
    return ok(content, filename, StaticFileMimeTypes.fileMimeTypes());
  }
Generates a 200 OK result.

@param content The file to send.
@param filename The name to send the file as.
@return the result