Helper functions for local storage (available space analysis, read operations, write operations, etc.)