Test File

Test an attribute of a file and put the result in a variable.

A failed test will result in the specified result variable being cleared.

Parent Dir: the parent directory of the given file, note that it may not actually exist.
Size: file size in bytes, or for directories number of children.
Modification time: the modification time of a directory is the time a file was last added or deleted from them.
Type: either file or dir.