check for session file when using commands
externalize verification of session file
sanitize dots