remove code duplicates (freeDiskspace + uuid)