updated to use multiply files