more conversion to using interfaces rather than pointers to types.
adding quotes around filename