change to jpg the remain files