def read_file(path):
    """Reads a file and returns the data as a string."""
    output = ""
    try:
        # If we could not open then we simply return "" as the output
        with open(path, "r") as content:
            output = content.read()
    except:
        pass
    return output