Update file.py

paired_with is not an integer