Scripts for checking file status and updating status.