For every line• find the filename• check if it already exists in the filenames[] lists if it does, just increment the filename_count[] at that index