Host program now checks if cart is inserted. Files are named automatically based on header information.