Just the parsing of the inputfile into dictionaries