Dev with attach

Fixes #55.  This is a new PR to fix the referenced issue.  My original code used an ArrayCollection which seemed like overkill for the problem at hand.

This new approach simply iterates over the part parameters and if the attributes 'name' or 'filename' are found, iteration stops and the flag is set to true.