add file with new encoding