Separated all the disk related functions from utils.py to disk.py