Reads a file located at the given path.

def read(path):
    """ Reads a file located at the given path. """
    data = None
    with open(path, 'r') as f:
        data = f.read()
    f.close()
    return data