Provide a way to specify file
Fix expected encoding