Create a function which calculates dependencies for a given projectfile.