Accept multiple header files
Refactor tool/extract_api.rb