Functions for critical file baselining