fileName is now optional and deprecated