mime: format output
mime: create file when not exist