Keep file extension when no validator is used