bug-fix: the output should be saved in the file specified by the user and not in...