def clean_file(f):
    if not hasattr(f, 'read'):
        return open(f, 'rb'), True
    else:
        return f, False
Gets Domain Creation Time
dataset/ETHPy150Open ipfs/py-ipfs-api/ipfsApi/utils.py/clean_file--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/gdata/apps/adminsettings/service.py/AdminSettingsService.UpdateAdminSecondaryEmail