common: read/write file routines