Working version of FileFormField and ImageFormField