Fixed issues with CSV header reader
Removed temp files