added endpoint for multiple files