set jpg as the default file type