File parameter compatible with Pipeline but using the stash system, better suited to large files. The file will be saved to a stash named like the parameter containing one entry, also named like the parameter. Example usage from Declarative Pipeline:

pipeline {
  agent any
  parameters {
    stashedFile 'assets.zip'
  }
  stages {
    stage('Example') {
      steps {
        unstash 'assets.zip'
        sh 'unzip assets.zip'
      }
    }
  }
}