fix "open snippet file" action.