Update connect-session-folder.js

adding getPath function