Added more realistic example that checks free disk space.