Move the hooks file mask into constants.py