added input/output db to files