Write to individuals files and added sessions (v1).
Code uncommented
Add sessions