 
 # Close the given project, which involves killing all processes of
 # this user and deleting all of their associated files.
-close_project = (socket, mesg) ->
+events.close_project = (socket, mesg) ->
     uname = username(mesg.project_id)
     async.series([
         # Kill all processes that the user is running.

            socket.write_mesg('json', message.error(id:mesg.id, error:err))
    )


remove_file_in_project = (socket, mesg) ->
    user = username(mesg.project_id)
    async.series([
        (c) ->

    )

# Write a file to the project
events.write_file_to_project = (socket, mesg) ->
    data_uuid = mesg.data_uuid

    if mesg.path[mesg.path.length-1] == '/'
