Use functions - rename_packages, get_file_name_from_path, upload_file_list_to_s3