added prompt to ask for file name