improve file manu flashing