fixing file-test; adding log info