public static String readFileData(File filepath) throws HyscaleException {
	    if (filepath == null) {
	        return null;
	    }
	    if (!filepath.exists()) {
	        logger.debug("File {} does not exist, returning null data", filepath);
	        return null;
	    }
	    try (FileInputStream inputStream = new FileInputStream(filepath)){
	        return IOUtils.toString(inputStream, StandardCharsets.UTF_8);
        } catch (IOException e) {
            throw new HyscaleException(e, CommonErrorCode.FAILED_TO_READ_FILE, filepath.getAbsolutePath());
        }
	}
Clears directory including internal dirs

@param dir
@throws HyscaleException
commons/src/main/java/io/hyscale/commons/io/HyscaleFilesUtil.java