always default to png if filetype is not provided