Does
extract_archive work if the archive is still being written to? If so, you can always daemonize the process and just check
(stat($file))[9] and see if it's older than your current lap. 7 (size) would work too, assuming the archive gets written all at once.
stat