file patch root check