refactored coding decoding of serial numbers to a single file