added file_dups_immediate function