truncate long pdf names, put each pdf variation in a separate directory