Added media variable storing the medias of the current file