Create fileread.js

This is the directive to add to a project to re-size an image.