added filename extension modification