import zipfile


def get_pfile_contents(pfile):
    """
    Get a list of files within the pfile Archive
    """
    if zipfile.is_zipfile(pfile):
        zip = zipfile.ZipFile(pfile)
        return zip.namelist()
    else:
        return None