Make filename optional for fail requests, remove some uneeded logging and constants