fileFromPath
Loads a file from the given path and adds it to the upload list.
Parameters
path
The path to the file.
purpose
The file's purpose. Defaults to defaultPurpose.
Throws
if the file does not exist.
Loads a file from the given path and adds it to the upload list.
The path to the file.
The file's purpose. Defaults to defaultPurpose.
if the file does not exist.