finish the txt file's sign and verify