Trying with DirectoryIterator to get file mtime.