FPS Game and pathfinding

I am making a game like Call of Duty, and I need to know how to make a pathfinding system for enemy bots so when they come after my player they won't run straight into walls.

Have a look at http://www.arongranberg.com/unity/a-pathfinding/.