Origin of the name Fife

From a Scottish place name which was formerly the name of a kingdom in Scotland. It is said to be named for the legendary Pictish hero Fib.