anchor.diff:          | None -> x
       sp,spout
   
  -let files = [|"bairagi",[|"635013888324512817",[||],None,None;|]|]
  +// use this for individual files (comment if not using)
  +let files = [|"Rat1",[|"data_file_1",[||],None,None;"data_file_2",[||],None,None|]|]
   
  +// use this to read a text file with the list of files to snippet (comment if not using)
   //let files = 
  -//    File.ReadAllLines(@"C:\Users\rpoddar\Downloads\snippeting-SW-7.txt")
  +//    File.ReadAllLines(@"C:\Snippeting_list.txt")
   //    |> Array.map (fun x -> x.Split())
   //    |> Array.fold (fun state x -> 
   //        match x with
  
positive.code: 
      let settingsfile = sprintf @"%s\SnippeterSettings.xml" dirpath
  
      let samplesPerBlock = 30000*15 //15 secondss
      let endPadding = 3000
      let w_pre,w_post = 31,32
      let dfact = 100
  
negative.code: open System.Text.RegularExpressions
  let xn = XName.op_Implicit
  
  let datahostip = @"192.168.0.1:5900" // [IP address : port number] of RESTful service on data-server. Can also be "localhost:5900"
  
  let userpath = @"\\192.168.0.1\X\Data" // local or network (samba) path to parent data directory on server
  
  let serverpathip = Remote @"192.168.0.1:5900" // [IP address : port number] of RESTful service on data-server.
  
  let serverpath = sprintf @"X:\Data\%s\raw\%s" // path to parent data directory on server
  let serverpathgz = sprintf @"X:\Data\%s\raw\%s" // path to parent data directory on server
  
  let userpathout = userpath
  let serverpathout = serverpath
  
  let cmdpath = @"& 'C:\Titanic\Snipppeter" // location of Snippeter folder on master/worker computers
  
  let init rat fnum chstoexclude numsamples byteoffset =
      let sp = serverpath rat fnum
  
      // Tetrodes (comment if not necessary)
      let esets = List.init 16 (fun i -> 
          sprintf "%d" i,Set.difference ([i*4..i*4+3]|>Set.ofList) chstoexclude|>Set.toList)
  
      // Single Electrodes (comment if not necessary)
  //    let esets = 
  //        List.init 64 (fun i ->
  //            if chstoexclude |> Set.contains i then
  //                None
  //            else
  //                Some (sprintf "%d" i,[i])
  //        ) |> List.choose id
  
      let dirpath = 
          let x = sprintf @"%s\%s\%s" userpathout rat fnum
  