Added upfront file check to feature access func.