stop throw exception when parent folder not created
added changes