save file path to db