Remove redundant function: (1)printDict (2)printDictToFile (3)findKeyPath (4)setInDict (5)getFromDict and modify the read write file number (EX fr2 -> fr1, fw2 -> fw1)