Backend

now upload response sends back the file type as well