create file interface

controller and model interface