added external handler for creating file name