add file input of log