added functionality for adding image to filesystem (gadgets)
Signed-off-by:Matthew Scaperoth <mscapero@gwu.edu>