Make filename optional for fail requests and remove some uneeded logging