The Check File Action object is used to check on the status of files, for things like their existence, and attributes.
Workflow tab
The Write Variables option ensures that the “Package Action” logs the variable values into the “Action vars before log file” before the action is executed and logs the updated variable values into the “Action vars after log file” after the action completes.
It is usually used for debugging and not recommended for production environment.