start implementing of FileController and relative test