filedb.js -> rename functions