verify filePath that is passed in exists before trying to minify