dao implementation, file read