Proper file date setting