Introduced access by ID for media file resources
Added copying of metadata