added duration property to MediaFile object