def read_quota_file(file_quota):
    """Read the quota information from a file generated with the command
    'mmrepquota -j <fileset>."""
    fin = open(file_quota,'r')
    text = fin.readlines()
    fin.close()

    # Remove some control characters from the input.
    text = [line.strip() for line in text]

    return text