func IsfileExists(path:String){
let fileManager = FileManager.default
let result = fileManager.fileExists(atPath: path)
if result {
print("yes")
}else{
print("false")
}
}
func creatFilePath(path:String){
let fileManager = FileManager.default
do{
try fileManager.createDirectory(atPath: path, withIntermediateDirectories: true, attributes: nil)
} catch{
print("creat false")
}
}
func removeFilePath(path:String){
let fileManager = FileManager.default
do{
try fileManager.removeItem(atPath: path)
} catch{
print("creat false")
}
}