 +export TAO_config_path=$TAO_HOST_DIR/tao.config
 +export TAO_guard=AllowAll
 +tao_admin -create -name fileproxy -pass nopassword
+diff --git a/apps/fileproxy/hostdomain/reinit b/apps/fileproxy/hostdomain/reinit
+new file mode 100755
+index 0000000..b7086c5
+--- /dev/null
++++ b/apps/fileproxy/hostdomain/reinit
+@@ -0,0 +1,21 @@
++#
++cd fileclient_files
++rm delegationBlob
++rm sealedsigningKey
++rm sealedsymmetricKey
++rm signerCert
++cd stored_files
++rm originalTestFile.received
++cd ../../fileserver_files
++rm delegationBlob
++rm sealedsigningKey
++rm sealedsymmetricKey
++rm signerCert
++cd stored_files
++rm originalTestFile
++cd ../../rollbackserver_files
++rm delegationBlob
++rm sealedsigningKey
++rm sealedsymmetricKey
++rm signerCert
++
 diff --git a/apps/fileproxy/hostdomain/runfc b/apps/fileproxy/hostdomain/runfc
 new file mode 100755
 index 0000000..4488f93

+linux_host -path="../hostdomain/linux_tao_host" -run -- $PROG_DIR/fileserver 
diff --git a/apps/fileproxy/hostdomain/checkprog b/apps/fileproxy/hostdomain/checkprog
new file mode 100755
index 0000000..e56c538
--- /dev/null
+++ b/apps/fileproxy/hostdomain/checkprog
@@ -0,0 +1,6 @@
+#
+ps aux | fgrep linux_host
+ps aux | fgrep keynegoserver
+ps aux | fgrep fileclient
+ps aux | fgrep fileserver
+
diff --git a/apps/fileproxy/hostdomain/inithost b/apps/fileproxy/hostdomain/inithost
new file mode 100755

+echo "rebuilding fileproxy"
+cd ..
+go build ...
+cd fileclient
+go build fileclient.go
+echo "done"
diff --git a/apps/fileproxy/filehandler.go b/apps/fileproxy/filehandler.go
new file mode 100644
index 0000000..313a062
--- /dev/null
+++ b/apps/fileproxy/filehandler.go
@@ -0,0 +1,809 @@
+// Copyright (c) 2014, Google Corporation.  All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//     http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
