fixed log message
added checks for multiple files in a single request and additional request params