def get_submission_files(jobs):
    """Return the filenames of all jobs within a submission.

    Arguments:
        jobs: jobs retrieve filenames from

    Returns:
        array of all filenames within the jobs given"""
    job_list = []
    for job in jobs:
        if job.filename not in job_list:
            job_list.append(job.filename)
    return job_list