- Update getFileSize utility to format file sizes consistently.
- Refactor traverseFileEntry to use specific FileSystemEntry types for better type safety.
- Modify useFileUpload hook to accept an optional allowedExtensions parameter for custom file type filtering.
- Update tests to reflect changes in file type handling and ensure comprehensive coverage.