added a switch function that adds only new files to the proportion occupancy and nTime dataframe