Added FileField and refactored binding api.