removing unnecessary file hook.