check access to multiple files