Made it possible to add file data to the database.