Create a default item name based on the file name, and limit the length of the
name.