Correct parsing of the attributes file