forming file structure