formatted file and using LOCALE to format date