Add file path support to upload_package .