build base file structure