get open files for a given process and its children
updated to handle multiple results