A flash file, also known as a firmware or ROM, is a software package that contains the operating system, applications, and configuration settings for a mobile device. Flashing a device with a new firmware can help resolve issues such as software bugs, viruses, and password-protected devices.