added file name cropping option