The big difference is that this one is just a general utility function that is not tied to projects. It's a bit surprising that we didn't have this kind of function in FileUtils already,.