Implemented nextSizeType and formatFileSize (with tests)