#!/usr/bin/env python3

import sys

if len(sys.argv) < 2:
    print('You must specify a file.')
    exit()
   
path = sys.argv[1]

try:
    # Opening a file
    # Reading the file - which returns a string
    # Splitting the text into lines with splitlines (which removes newline characters)
    # Expression is print(line)
    [print(line) for line in open(path).read().splitlines()]
except FileNotFoundError:
    print('File does not exist.')