The FileStat-type represents metadata about a file
FileStat
Online Documentation
The creation timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.
The modification timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.
The permissions of the file, e.g. whether the file is readonly.
The size in bytes.
The type of the file, e.g. is a regular file, a directory, or symbolic link to a file.