added test for saveFile, updated property order for better reading