Remove flatten as now working in single id strings
Split out pressByPathId