LPS-42337 Move code to the method call to avoid duplicate logic
LPS-42337 Since we have the className and classPK in DLFileEntry, we can simplify the code for related entries