File and image input for pwf forms