CORRECTES RESULTS BY UPDATED link_files.bash