added file and yes command.