Added ability to use array of dirnames