Pass locals to fileMapVariables