changed className correctly with filename