Added automatic file numbering to *.data