set a variable with latest file name

Hi

how to set a variable with the latest file name in a given folder in bash script.

Thanks,
MM

VAR=$(ls -tr|tail -1)