Add the possibility of using a local file