[PATCH] Add write/read operations for cyclic files in SIM.