I guess we are interested only in .csv and .txt files (correct me if I am wrong), so can we directly loop for those files something like this ?

##assuming 're' was imported
if re.search(r'\.csv$|\.txt$',file_path):
        sep = [',','\t'][file_path.endswith('.txt')]
        with open(file_path,'r') as opened_file:
                parsed_files[f.name] = [row.strip().strip('\\').split(sep) for row in opened_file]  
##I believe empty strip for '\\' wouldnt hurt csv file lines

I don't know if it was worse than before, I thought we could just cut out some lines :D 
P.S: I dont know if it would serve the purpose, just a blind suggestion.