using expandFiles on an array