input folders are space separated