Pathfind actors in folder

Is there anyway to find all the actors in a folder and then add them to a array?