improve create file & directory