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