add files to static tree