renamed format.py to format_record.py