import subprocess

def locate_file(filename, fileslist):
    # use grep
    p = subprocess.Popen(["grep", "-lr", filename, fileslist], stdout=subprocess.PIPE)
    output, err = p.communicate()
    return output.replace("\n","")   
a68244711e1959d86a0092e0dd4b54d4f02d3f73
<mask token>

<mask token>


def locate_file(filename, fileslist):
    p = subprocess.Popen(['grep', '-lr', filename, fileslist], stdout=
        subprocess.PIPE)
    output, err = p.communicate()
    return output.replace('\n', '')

import subprocess


def locate_file(filename, fileslist):
    p = subprocess.Popen(['grep', '-lr', filename, fileslist], stdout=
        subprocess.PIPE)
    output, err = p.communicate()
    return output.replace('\n', '')

import subprocess

def locate_file(filename, fileslist):
    # use grep
    p = subprocess.Popen(["grep", "-lr", filename, fileslist], stdout=subprocess.PIPE)
    output, err = p.communicate()
    return output.replace("\n","")   