How to load bitrise uploaded files in prebuild script on Xcode

Hello everyone,
I try to load a file that I uploaded on Bitrise using a pre-build script but I got error that I didn’t understand on CI.
The script on Xcode project is there

export env-vars=$(pwd)
# download the file
wget -O "$env-vars" "$BITRISEIO_Secrets_keys_URL"
source $env-vars
sourcery --sources . --templates Templates/AppSecrets.stencil --output Secrets --args random="random",secrets=$SECRET_KEY

I think that I didn’t read correctly the file? can you help me please