Started file handling for DB