Multithreaded check-files script