Moved parse_file, PEP8 cleanup
Re-added extension check
Various cleanup, renamed parsing function
add tests, fix PEP8
Merge pull request #8 from squirrelo/matplotlib

Added functions for automatic piechart plotting with matplotlib - For #7