Getting user input,filename = input('Enter a file name: ')