Move functions in utils.py to utilities.py.