#This exercise is for opening and reading files
#Dependent on ex15_sample.txt as input

from sys import argv

script, filename = argv

txt = open(filename)

print (f"Here's your file {filename}:")
print (txt.read())

print ("Type the filename again:")
file_again = input("> ")

txt_again = open(file_again)

print (txt_again.read())

txt.close()
txt_again.close()
