techniques are disclosed for customizing a context structure such as a context menu based on content associated with an object such as a computer file . for example , a computer - implemented method for customizing a context structure associated with an object comprises the following steps . a content analysis is performed on the object . the context structure associated with the object is modified based on at least a portion of results of the content analysis .