1// Copyright (c) 2015 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5if (sys.argv.length != 2) { 6 throw 'argv must be a single file name'; 7} 8 9file_path = sys.argv[1]; 10file_content = read(file_path); 11print('Content of file ' + file_path + ' is ' + file_content); 12