Using rbind function is not an efficient way to process and store metadata of each file into a dataframe.