file writer&reader created