Added File Access Checks.