© Petri Sakkinen 1994 this writes layer names & scales into a text file., another version writes object counts