fixed cat bad var ref -> filePath