getAllDependencies

Get all the dependencies of the file