Use packageInfo.file instead of constructing file name during upload