>Is it safe to assume the last three letters are the extension? Yes >could you put all the extensions you want to support into an array? Yes Rob