moving file storage into db dir