enable extensions independent of filename