def read(file):
    """
    Reads the current contents a file
    :param file: the file to be read
    :return: the contents of the file
    """
    f = open(str(file), "r")
    string = f.read()
    f.close()
    return string