Logger should work with empty textfile too