Organizing a dataset with file labels