Making the removeDataFile a little smarter to avoid removing data files that are still being worked on