My brain-dump of random code/configuration.
It looks like you're trying to generate a paper based on a filename: