Add PEM file support