Fixes issues #107 and #108 -- adds file input and input mask to framework