This is the python code which process the input edge files and creates a cleaned outputs for entering into database