You can't script the file record as far as I know....
# general
t
You can't script the file record as far as I know. I am not sure if role restricted folders would help there. You might be able to do this with a browser automation extension.