added file locking capability if --csv results are written to file