updated infiletodb to match updated infiletree api