image file is now specified as an argument