Made session class independent of default file existing