read and write
updated files list