ashwin valid file extension fixes