Added error logging in CLI
Fixed bug in delete command
Make import command import files ordered by file name