Silver gelatin, oil paint, bronze, are media. Digital files are information; a digital file could just as easily be a representation of a symphony or a text or a 3 dimensional world or anything. Digital photography may be a discipline but the media 'digital photography' does not exist.