Why would a cloth be placed over the top of a metal pile when driving?

Why would a cloth be placed over the top of a metal pile when driving?