Updating to accept/process File for script based resources.