refactor(file view): add view/getContentType instead of context/

add getContentType on view and not on context
to make it easier to customize with dexterity