Changed from "readyRead" signal to "finished".

seems like readyRead signal is a bit buggy when the reply takes more
time to be completed.
Using "finished" seems solved the problem. Also, added "files.delete"
parsing.