file write/read.

many-many shit code