read and writre properties file.(for study)