Remove subcontext mink from the file