Works with a directory, just jpegs at this point.