Added filtering to only read .jpg and .jpeg
New filename format