first version file write finished, a little app Vi now works