fix for different file formatting & date formatting