The leather working related tool you are thinking of is called a shoe peg float. There are a few different kinds of teeth. Most of the shoe peg floats or rasp have a higher angle on the shank. They all had wooden handles like a file. They were used to file off the wooden shoe pegs that on the inside of the boot or shoe that were used instead of nails on mariner's or other waterproof footwear. After filing them down, the insole would be put in. There is a very good write up in Salaman's Dictionary of Leather-Working Tools book.
Because of the angle, I will go with a horse tooth file or rasp.