 event.dataTransfer.files;
						
		                for (var i = 0; i < filesArray.length; i++)
		                {
			    			handleDrop(graph, filesArray[i], x + i * 10, y + i * 10);
		                }
					}
				});
			}
		};

		// Handles each file as a separate insert for simplicity.
		// Use barrier to handle multiple files as a single insert.
		function handleDrop(graph, file, x, y)
		{
			if (file.type.substring(0, 5) == 'image')
			{
                var reader = new FileReader();

                r