Now also taking into account available disk space
Documentation
Logging
Logging