cut output to only the filename, removed duplicate entries from the temp array, excluded Binary and ",v" files