1#!/usr/bin/python
2# Copyright (c) 2012 Google Inc. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6import sys
7
8fh = open(sys.argv[1], 'w')
9
10filenames = sys.argv[2:]
11
12for filename in filenames:
13  subfile = open(filename)
14  data = subfile.read()
15  subfile.close()
16  fh.write(data)
17
18fh.close()
19