calc date from file_name.