Prevent duplicated entries in file list