- Enhancements: Refactored conditional logic in create_file and rebuild_initramfs to reduce nesting and improve readability