accounting for query strings and hashes in file requests
updating error messages, supressing console.log in tests