Forgot to add encoding for opening file for searching