Added ID parsing from PDF filename, otherwise adding to max + 1 (starting from 10000000000)