TypeCast filePath.