Replace file with fileutil