Make a function that analyzes a file

Define a function that gives the size and last modification date of a file:

Click for copyable input

Test the function

Use Insert File Path to insert a file path as an argument to the function and evaluate:

Apply the function to files in a directory

Get the sizes and modification dates of the files in a directory using FileSystemMap: