* only file with JPG extension is allowed.