can create dirs and files. and small fixes