logs. return if folder doesnt exists and mkdir fails