Forgot to mention that the filename was also an attribute. Fixed.