Should be file instead of fileName? One needs to change.