started file io stuff (indexDir())