hook in FileEnumerator