Read write to file

Signed-off-by: Glafira <glafiraafraid@gmail.com>