trim filename length to 100