construct file name better