my $LastModified = (stat $InputDir)[9];