limit possible filename length