import re


def _grep_prop(filename, prop_name):
    """
    Look for property in file
    :param filename: path to file and file name.
    :param prop_name: property to search for in file.
    :return: property value or None.
    """
    fdata = open(filename, "r").read()
    obj = re.search("^{0} = ['|\"](.+)['|\"]$".format(prop_name), fdata, re.MULTILINE)
    if obj:
        return obj.group(1)
    return None