Updated the request validator to make empty file path be valid