final file reader and finance database