add date, char encoding, and exceptions to file tracking
remove unused, catch ex.
fix cancel issue.