Split off file parsing into own function (for potential reuse with normalize if https://github.com/jrburke/requirejs/pull/847 is accepted to pass in the config object to the plugin's normalize())