Added user input for name of file and check if file is in directory