performance emproved but same filename doesnt work