Takes an input file path as variables file_location
Perferable the single function should be devided into three sub modules.
- Reading the file and extracting one by one line e.g. read_file
- Function which takes one line as input and then clean the line and enrich the output dictionary (can be made another seperate function for real time counter)
- Outputting function. Which can display the output either on stdout or into a specific file with desired formatting.