Forming system dir. and files