added file field support to the form view