Update the markdown plugin to work with the new file object.