Changing String to the more descriptive and appropriate FilePath type.

Small change, but it makes it more clear in the documentation what the first argument is.