fromFile

Creates a BinaryOutputArtifact from a file.

Return

a BinaryOutputArtifact with the file's name and content

Parameters

file

file to read the content from