Expires check limit on file insert and file update hooks