Media gallery can use files of 'document' type #2418