Added date stamp format as a parameter!