fixed issue 1191, local files for LWP