Add format and diff-option for logging. Add method to show name and status for files