remove obsolete file extension checking