support subfiles, add processManager