need to account for subdirs