File upload via GFAPI::submit_form

Is there a way to upload a file via the submit_form method of the php api? I have looked through the documentation on the submit_form method but have not seen an example processioning a file upload field.