add file controller