working with multiple workers, retrieving output files, won’t implement async logging, won’t retrieve log file. To do: sendfile implementation
code refactoring