Changing String to the more descriptive and appropriate FilePath type.