It deletes the last created file