Added support for checking remaining disk space