Fix absolute file usage in batch processing to use relative file