listing files from a tree and storing filename in raw tree
reading blob contents