added proper structure for file response