Shortcut go to folder containing the file opened in TextEdit
The solution was to use an AppleScript! 

Here the code to insert in Automator (during the creation of a new service)

tell application "TextEdit"
    tell front document
        set apath to (its path) as text
        tell application "Finder" to open item (apath as POSIX file)'s container's container window
    end tell
end tell

tell application "Finder"
    activate
end tell


return


Automator window will look like this: