Image: Function formFile: Doc fix

Adding @throws