Added extract method
Added method to extract track or attachment