@Deprecated
  public static Result ofFile(File file, String fileName) {
    """
	Returns the file as a result considering "Range" header. If the header is present and it is
	satisfiable, then a Result containing just the requested part will be returned. If the header
	is not present or is unsatisfiable, then a regular Result will be returned.
	
	@param file the content file
	@param fileName filename used at the Content-Disposition header
	@return range result if "Range" header is present and regular result if not
	@deprecated Deprecated as of 2.7.0. Use {@link #ofFile(Http.Request, File, String)} instead.
    """
    return ofFile(Http.Context.current().request(), file, fileName);
  }
@Deprecated
  public static Result ofFile(File file, String fileName) {
    return ofFile(Http.Context.current().request(), file, fileName);
  }
@ Deprecated public static Result ofFile ( File file , String fileName ) { return ofFile ( Http . Context . current ( ) . request ( ) , file , fileName ) ; }
Returns the file as a result considering "Range" header. If the header is present and it is
satisfiable, then a Result containing just the requested part will be returned. If the header
is not present or is unsatisfiable, then a regular Result will be returned.

@param file the content file
@param fileName filename used at the Content-Disposition header
@return range result if "Range" header is present and regular result if not
@deprecated Deprecated as of 2.7.0. Use {@link #ofFile(Http.Request, File, String)} instead.
Returns the file as a result considering Range header . If the header is present and it is satisfiable then a Result containing just the requested part will be returned . If the header is not present or is unsatisfiable then a regular Result will be returned .