finish the split_file.py