Implemented write to file
Merge remote-tracking branch 'origin/develop-avatolsystem' into develop-capsule-character