Check for existing session handler before defining as file