For WordPress metabox file upload in custom post. please refer Below link
or you can use following plugins
https://wordpress.org/plugins/simple-fields/
http://www.advancedcustomfields.com/
both plugin best for custom field . you can also create reapeatable fields