"flash0" is not a file—it's the first partition of the PSP's internal NAND flash memory.
Modifying flash0 can permanently brick your PSP. Only edit if you fully understand the structure and have a NAND backup + Pandora battery / recovery method.
For homebrew/plugins, use ms0:/seplugins/ (Memory Stick) instead—safe and standard.