test file writer and reader{link()}