Removing unnecessary file encoding