Use python script to fetch submodules from a file