Type-safe functions for file system operations with proper exception handling.
Type-safe functions for file system operations with proper exception handling