So this is now the file and not its contents? Other parts of the code use @pem_file, but it appears they are assuming it is the contents, and not the file, e.g. lines 60 and 64 of this file.