Added utility function to empty file.
Added utility function to read file.
Implemented new-entry command.