Minor changes on file logging
Dont receive any content if content_length is 0