added a file path the function failed to create in an error message.