implemented gyp file tree parser