save and remove received.txt when necessary, show new files in the gui via ajax call.