adding ability to give a file path that is a list of dependencies