add local file read/write support, add edit support