Refactored camelcase; Added disk size check
Made helper to logically break up code.