file_to_device returns file count will migrate to specified device