adding basic jpeg file reader example