Added global File Operations and corrected CSVWriter