file_stack combined into visited_files was duplicating
concatenating enhanced_file_list and adding files from visited_files to list