Uppercase pid values based on filenames