There does seem to be some missing code with relation to having a file as a custom field. What is your goal? An account can already accept an attachment. Why must it be a custom field?
If you create a custom field, then you can only have one attachment. If you use the existing Create Note or Attachment button, then you can have as many attachments as you want.
Why doesn't the existing system satisfy your requirement?