resolve same filename problem