fix bug not pushed fileencode to the variable
fix bug resolve, added Force option to output file.