Support the '.rest' filename extension.