Store session in file