truncate filenames