First pass at grabbing attachment

Not finished but functional, so if people want to play with it over the week end... knock yourself out.