you can use the file module and there's a property...
# suitescript
c
you can use the file module and there's a property on the file folderId