Fix attach uploaded fils to the application