Various utilities meant to be used by the backend only (this means functions accessing the file system etc)