init read/write for the disk