def get_payload(payload_file):
    """
    Read the payload file, and strip out the shebang if it exists
    """
    f = open(payload_file, 'r')
    lines = f.readlines()
    if lines[0].startswith("#!"):
        lines = lines[1:]
    f.close()
    return '\n'.join(lines)