Create read-write-file-c