only add files to result if there is no other with the same name