pub fn read_config() -> Result<SessionConfig>
Read the session configuration from file with file locking