Updated target-file.py to work with a list. Made target.py return a list and the image separately