add file metadata endpoint