Removed uses of deprecated FilePath.