989627 - dont use rstrip() to remove a file suffix.