Added support for packages to upload files.