     options.subscribeGraph = false
 
   exports.graph.loadFile file, (err, net) ->
-    return callback err if err
+    if err
+      callback err
+      return
     net.baseDir = options.baseDir if options.baseDir
     exports.createNetwork net, options, callback
+    return
+  return
 
 # ### Saving a network definition
 #
 # NoFlo graph files can be saved back into the filesystem with this method.
 exports.saveFile = (graph, file, callback) ->
   graph.save file, callback
+  return
 
 # ## Embedding NoFlo in existing JavaScript code
 #

      return

    # Empty network, no need to connect it up
    return networkReady network if graph.nodes.length is 0

    # Wire the network up and start execution
    network.connect (err) ->
      return callback err if err
      networkReady network

  network

# ### Starting a network from a file
#

  networkReady = (network) ->
    # Send IIPs
    network.start (err) ->
      if err
        callback err
        return
      callback null, network
      return

  # Ensure components are loaded before continuing
  network.loader.listComponents (err) ->
    if err
      callback err
      return

    # In case of delayed execution we don't wire it up
    if options.delay
