Changed ls output format
Proper handling of non-existing database file