script for parsing local files added. useful for testing