use File::stat; # don't worry, it's part of standard perl