Instead of recreating the whole menu every time the user right-clicks a file, reuse the previously allocated menu