Forms API: 'file' or 'managed_file' type with multiple/unlimited values
If you are trying to build this functionality for a custom form using the Forms API, it may not yet be possible.  It's documented on Drupal.org to be an issue. See this discussion, the bottom talks about the problems with implementing AHAH with a file field.