Databasefunctions concering files have been added.
Database working