more file processing + todays date function added