fixed to use files-exported as input queue