Fix the problem of clashing during file reading and writing
Code cleanup
Remove redundant date parser variables
Merge branch 'temp-fix'