added test for local file