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