add file to menu hook