Create, format and add files to a hard disk image file using a script.