add option to keep created files and directories