// Learn more about F# at http://fsharp.org // See the 'F# Tutorial' project for more help. open System.IO let saveLocation = __SOURCE_DIRECTORY__ + "/SavingTestArea/" let resetSavingTestArea () = let files = Directory.GetFileSystemEntries(saveLocation) match files.Length with | 0 -> () | _ -> files |> Array.iter (fun f -> File.Delete(f)) resetSavingTestArea ()