add get related files method