put media in media directory