jpg extension needs to match case of file