only one disk operation for load & write
add setdir