Create your job variable. let's call it "JobFileLastModDate".
Then create a new Internal task of Set Job variable. The Value will be selected from the File variables section of the Variables, FileModifiedDate.
{FILE(ModifiedTime|c:\textfile.txt|yyyy-MM-dd HH:mm:ss)} The file and format could be variables too.