Find the frequency of a given sentence "There is something new". And store the output into a text file. Write a code in Python with no crash.
Hints: Use try, except clause. And ignore the empty string.
Expected output:
e : 4
h : 2
i : 2
s : 2
n : 2
T : 1
r : 1
o : 1
m : 1
t : 1
g : 1
w : 1