In this worklet, you’ll upload your desired file to the worklet’s payload. You’ll then need to complete the $filename variable with the name of the file you want to copy to the device, and then $filepath will be the target destination for your file. This should be configured in both the evaluation and remediation code blocks:
If you wish to use your code instead, you’ll want to include the full file name, including the file extension. And for the file path, you’ll want to use the absolute file path instead of a relative one.