Added Param to script

Modified the script to use a parameter to specify the path of the folder
to unlock files for.