add files and make dir struct