MODE-1768 Added checks to include only existing and readable files as child nodes