プリセットを適用する方法

var ffxFile = File((new File($.fileName)).parent.toString() + "/fugafuga/hogehoge.ffx");
layer.applyPreset(ffxFile);