Involved in autophagy. May play a role in a late step of autophagy, such as clearance of autophagosomal cargo. Plays a key role in innate and adaptive immune response triggered by unmethylated cytidine-phosphate-guanosine (CpG) dinucleotides from pathogens, and mediated by the nucleotide-sensing receptor TLR9. It is necessary for the translocation of CpG dinucleotides from early endosomes to late endosomes and lysosomes, where TLR9 is located (PubMed:29130391). {ECO:0000269|PubMed:20550938, ECO:0000269|PubMed:23222957, ECO:0000269|PubMed:29130391}. This is the function of EPG5 (ectopic P-granules 5 autophagy tethering factor, Ensembl gene identifier ENSG00000152223).