Allow local file to run though content handler.

This CL allows local file to use content handler. For this it aggregates the 2 code paths when reading a local file or retrieving a file
  from the network.

R=aa@chromium.org

Review URL: https://codereview.chromium.org/694303002