program calls function with three args, module reads and filters directory files, and pushes to array, original programs iterates and lists