Delete unnecessary encode/decode methods, Add test txt file