added filename lowercasing to ignore JPG file ext case
Updated with more of Jemma's specs